/*
 * TDS PEC 4
 * Grupo 3H2M

 *
 *
 * El paquete <code>edu.uoc.tds.pec4.aulas</code> contiene todos los módulos 
 * relativos al subsistema Aulas, tanto la parte de la interfaz gráfica de la 
 * aplicación cliente, como el interfaz e implementación del objeto remoto que
 * provee de servicios a la GUI.
 */
package edu.uoc.tds.pec4.aulas;

import edu.uoc.tds.pec4.rmi.GestorAulasInterface;
import edu.uoc.tds.pec4.beans.ReservaDTO;
import edu.uoc.tds.pec4.beans.UsuarioDTO;
import edu.uoc.tds.pec4.rmi.GestorDiccionarioInterface;
import edu.uoc.tds.pec4.common.util.Constantes;
import edu.uoc.tds.pec4.common.util.TDSLanguageUtils;
import edu.uoc.tds.pec4.common.util.UtilidadesGUI;
import edu.uoc.tds.pec4.server.bbdd.exceptions.GestorAulasException;
import java.awt.Frame;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.rmi.RemoteException;
import javax.swing.JButton;
import javax.swing.JOptionPane;

/**
 *
 * @author 3H2M
 */
public class DialogDetalleReserva extends javax.swing.JDialog {

    /** idSolicitud es el identificador de la solicitud en pantalla */
    private int idSolicitud;
    /** idReserva es el identificador de la reserva en pantalla */
    private int idReserva;
     /** res es el objeto DTO de la reserva */
    private ReservaDTO res;  

    /** objRemoto Es el objeto empleado como interfaz en la comunicación RMI */
    private GestorDiccionarioInterface objRemotoDic = null;
    private GestorAulasInterface objRemotoAula = null;

    /** usLogeado representa al usuario que está autentificado */
    private UsuarioDTO usLogeado;

    /** Creates new form DialogDetalleSolicitud */
    public DialogDetalleReserva(java.awt.Frame parent, boolean modal,
                GestorDiccionarioInterface objRemotoDic, GestorAulasInterface objRemotoAula,
                int idReserva, UsuarioDTO usLogeado) {
        super(parent, TDSLanguageUtils.getMessage("aulas.detalle.reservas.titulo"), modal);

        this.idReserva = idReserva;
        this.objRemotoDic = objRemotoDic;
        this.objRemotoAula = objRemotoAula;
        this.usLogeado = usLogeado;

        initComponents();

        mostrarDatos();
        //Centramos la ventana en la pantalla
        UtilidadesGUI.centrarVentana(this,JOptionPane.getFrameForComponent(this));
    }
    private void setLabels() {
        DatosReserva.setBorder(javax.swing.BorderFactory.createTitledBorder(null, TDSLanguageUtils.getMessage("aulas.detalle.reservas.datosreserva"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jLabelIdReserva.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.datosreserva.idreserva"));

        jLabelCliente.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.datosreserva.cliente"));
        DatosSolicitud.setBorder(javax.swing.BorderFactory.createTitledBorder(null, TDSLanguageUtils.getMessage("aulas.detalle.reservas.datossolicitud"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jLabelIdSolicitud.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.datossolicitud.idsolicitud"));
        jLabelFechaSolicitud.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.datossolicitud.fechasolicitud"));
        jLabelHoraSolicitud.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.datossolicitud.horasolicitud"));
        DatosAula.setBorder(javax.swing.BorderFactory.createTitledBorder(null, TDSLanguageUtils.getMessage("aulas.detalle.reservas.datosaula"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jLabelIdAula.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.datosaula.idaula"));
        jLabelNombreAula.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.datosaula.nombreaula"));
        jLabelSuperficie.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.datosaula.superficie"));
        jLabelAforo.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.datosaula.aforo"));
        DatosFecha.setBorder(javax.swing.BorderFactory.createTitledBorder(null, TDSLanguageUtils.getMessage("aulas.detalle.reservas.datosaula.datosfecha"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jLabelDesdeFecha.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.datosaula.datosfecha.desdefecha"));
        jLabelHastaFecha.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.datosaula.datosfecha.hastafecha"));
        DatosDuracion.setBorder(javax.swing.BorderFactory.createTitledBorder(null, TDSLanguageUtils.getMessage("aulas.detalle.reservas.datosaula.datosduracion"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jLabelDeHora.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.datosaula.datosduracion.dehora"));
        jLabelAHora.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.datosaula.datosduracion.ahora"));
        chkDiaCompleto.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.datosaula.datosduracion.diacompleto"));
        
        jPanelLocalizacion.setBorder(javax.swing.BorderFactory.createTitledBorder(null, TDSLanguageUtils.getMessage("aulas.detalle.reservas.localizacion"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jLabelLocalidad.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.localizacion.ciudad"));
        jLabelProvincia.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.localizacion.provincia"));
        jLabelPais.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.localizacion.pais"));
        jPanelImporteReserva.setBorder(javax.swing.BorderFactory.createTitledBorder(null, TDSLanguageUtils.getMessage("aulas.detalle.reservas.importereservas"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        
        cmdVerSolicitud.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.versolicitud"));
        
        
        cmdCerrar.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.salir"));
    }

    /**
     * Muestra los datos de la reserva en pantalla
     */
    private void mostrarDatos() {
        try {

            // Deshabilitamos la edición de las cajas de texto
            txtIdReserva.setEditable(false);
      
            txtCliente.setEditable(false);
            txtIdSolicitud.setEditable(false);
            txtFechaSolicitud.setEditable(false);
            txtHoraSolicitud.setEditable(false);
                    
            txtIdAula.setEditable(false);
            txtNombreAula.setEditable(false);
                    
            txtAforo.setEditable(false);
            txtSuperficie.setEditable(false);
            txtNombreAula.setEditable(false);
            txtFechaIni.setEditable(false);
            txtFechaFin.setEditable(false);
            txtHoraIni.setEditable(false);
            txtHoraFin.setEditable(false);  
            chkDiaCompleto.setEnabled(false);
            txtCiudad.setEditable(false);
            txtPais.setEditable(false);
            txtProvincia.setEditable(false);
            txtImporteReserva.setEditable(false);

            
           
            

            // Llamamos al objeto remoto
         
            res = objRemotoAula.getReserva(idReserva);
          

            // Cargamos los controles
            txtIdReserva.setText(res.getIdReserva().toString());
            txtFechaSolicitud.setText(UtilidadesGUI.obtenerFecha(res.getFechaSol()));
            txtCliente.setText(res.getNomCliente());
            
            txtIdSolicitud.setText(res.getNumSolicitud().toString());
            txtFechaSolicitud.setText(UtilidadesGUI.obtenerFecha(res.getFechaSol()));
            txtHoraSolicitud.setText(UtilidadesGUI.obtenerHora(res.getHoraSol()));
         
            
            txtIdAula.setText(res.getIdAula().toString());
            txtNombreAula.setText(res.getNomAula());
            txtSuperficie.setText(res.getSuperficie().toString());
            txtAforo.setText(res.getAforo().toString());
            
         
            txtFechaIni.setText(UtilidadesGUI.obtenerFecha(res.getFechaDesde()));
            txtFechaFin.setText(UtilidadesGUI.obtenerFecha(res.getFechaHasta()));
            txtHoraIni.setText(UtilidadesGUI.obtenerHora(res.getHoraIni()));
            txtHoraFin.setText(UtilidadesGUI.obtenerHora(res.getHoraFin()));
            if (!res.isDiaCompleto()) {
                txtHoraIni.setText(UtilidadesGUI.obtenerHora(res.getHoraIni()));
                txtHoraFin.setText(UtilidadesGUI.obtenerHora(res.getHoraFin()));
            }
            chkDiaCompleto.setSelected(res.isDiaCompleto());

            txtCiudad.setText(res.getNomCiudad());
            txtProvincia.setText(res.getNomProvincia());
            txtPais.setText(res.getNomPais());

            txtImporteReserva.setText(res.getImporte().toString());
            
            //Habilitar botones
            cmdVerSolicitud.setEnabled(true);

            

        } catch (GestorAulasException giE) {
            JOptionPane.showMessageDialog(null,
                    TDSLanguageUtils.getMessage("aulas.consulta.reservas.err.gestor.desc") + Constantes.SL +
                    giE.getMessage(), TDSLanguageUtils.getMessage("aulas.consulta.reservas.err.gestor"),
                    JOptionPane.ERROR_MESSAGE);
        } catch (RemoteException eRe) {
            JOptionPane.showMessageDialog(null,
                    TDSLanguageUtils.getMessage("aulas.consulta.reservas.err.gestor.desc") + Constantes.SL +
                    eRe.getMessage(), TDSLanguageUtils.getMessage("aulas.consulta.reservas.err.remoto.desc"),
                    JOptionPane.ERROR_MESSAGE);
        }
    }
    /**
     * Este método inicializa el botón Asignar aula
     *
     * @return javax.swing.JButton
     */
    private JButton getCmdVerSolicitud() {
        if (cmdVerSolicitud == null) {
            cmdVerSolicitud = new JButton();
            cmdVerSolicitud.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.versolicitud"));
            cmdVerSolicitud.addActionListener(new ActionListener() {

                public void actionPerformed(ActionEvent e) {
                    cmdVerSolicitudActionPerformed(e);
                }
            });
        }
        return cmdVerSolicitud;
    }
    

   
    /**
     * Este método inicializa el botón Cerrar
     *
     * @return javax.swing.JButton
     */
    private JButton getCmdCerrar() {
        if (cmdCerrar == null) {
            cmdCerrar = new JButton();
            cmdCerrar.setText(TDSLanguageUtils.getMessage("aulas.detalle.reservas.salir"));
            cmdCerrar.addActionListener(new ActionListener() {

                public void actionPerformed(ActionEvent e) {
                    cmdCerrarActionPerformed(e);
                }
            });
        }
        return cmdCerrar;
    }

    /**
     * Método que maneja el evento sobre el botón de Cerrar.<br />
     * Realiza la operación de cierre del dialogo
     */
    private void cmdCerrarActionPerformed(ActionEvent e) {
        dispose();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        DatosReserva = new javax.swing.JPanel();
        jLabelIdReserva = new javax.swing.JLabel();
        txtIdReserva = new javax.swing.JTextField();
        jLabelCliente = new javax.swing.JLabel();
        txtCliente = new javax.swing.JTextField();
        DatosAula = new javax.swing.JPanel();
        jLabelSuperficie = new javax.swing.JLabel();
        txtSuperficie = new javax.swing.JTextField();
        jLabelAforo = new javax.swing.JLabel();
        txtAforo = new javax.swing.JTextField();
        jLabelIdAula = new javax.swing.JLabel();
        txtIdAula = new javax.swing.JTextField();
        DatosFecha = new javax.swing.JPanel();
        jLabelDesdeFecha = new javax.swing.JLabel();
        txtFechaIni = new javax.swing.JTextField();
        txtFechaFin = new javax.swing.JTextField();
        jLabelHastaFecha = new javax.swing.JLabel();
        DatosDuracion = new javax.swing.JPanel();
        jLabelDeHora = new javax.swing.JLabel();
        txtHoraIni = new javax.swing.JTextField();
        txtHoraFin = new javax.swing.JTextField();
        jLabelAHora = new javax.swing.JLabel();
        chkDiaCompleto = new javax.swing.JCheckBox();
        jLabelNombreAula = new javax.swing.JLabel();
        txtNombreAula = new javax.swing.JTextField();
        jPanelLocalizacion = new javax.swing.JPanel();
        jLabelLocalidad = new javax.swing.JLabel();
        jLabelProvincia = new javax.swing.JLabel();
        jLabelPais = new javax.swing.JLabel();
        txtProvincia = new javax.swing.JTextField();
        txtCiudad = new javax.swing.JTextField();
        txtPais = new javax.swing.JTextField();
        jPanelImporteReserva = new javax.swing.JPanel();
        txtImporteReserva = new javax.swing.JTextField();
        jLabel1 = new javax.swing.JLabel();
        cmdCerrar = getCmdCerrar();
        DatosSolicitud = new javax.swing.JPanel();
        jLabelIdSolicitud = new javax.swing.JLabel();
        txtIdSolicitud = new javax.swing.JTextField();
        txtHoraSolicitud = new javax.swing.JTextField();
        jLabelFechaSolicitud = new javax.swing.JLabel();
        jLabelHoraSolicitud = new javax.swing.JLabel();
        txtFechaSolicitud = new javax.swing.JTextField();
        cmdVerSolicitud = getCmdVerSolicitud();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);

        DatosReserva.setBorder(javax.swing.BorderFactory.createTitledBorder(null, TDSLanguageUtils.getMessage("aulas.detalle.solicitudes.datossolicitud"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        DatosReserva.setName(""); // NOI18N

        jLabelIdReserva.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabelIdReserva.setText("ID Reserva:");

        jLabelCliente.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabelCliente.setText("Cliente:");

        javax.swing.GroupLayout DatosReservaLayout = new javax.swing.GroupLayout(DatosReserva);
        DatosReserva.setLayout(DatosReservaLayout);
        DatosReservaLayout.setHorizontalGroup(
            DatosReservaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(DatosReservaLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(DatosReservaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(DatosReservaLayout.createSequentialGroup()
                        .addComponent(jLabelCliente)
                        .addGap(42, 42, 42)
                        .addComponent(txtCliente, javax.swing.GroupLayout.DEFAULT_SIZE, 284, Short.MAX_VALUE)
                        .addContainerGap())
                    .addGroup(DatosReservaLayout.createSequentialGroup()
                        .addComponent(jLabelIdReserva)
                        .addGap(18, 18, 18)
                        .addComponent(txtIdReserva, javax.swing.GroupLayout.DEFAULT_SIZE, 108, Short.MAX_VALUE)
                        .addGap(186, 186, 186))))
        );
        DatosReservaLayout.setVerticalGroup(
            DatosReservaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, DatosReservaLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(DatosReservaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelIdReserva)
                    .addComponent(txtIdReserva, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(30, 30, 30)
                .addGroup(DatosReservaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelCliente)
                    .addComponent(txtCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(21, 21, 21))
        );

        DatosAula.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Datos Aula", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        DatosAula.setName(""); // NOI18N

        jLabelSuperficie.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabelSuperficie.setText("Superficie:");

        jLabelAforo.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabelAforo.setText("Aforo:");
        jLabelAforo.setToolTipText("");

        jLabelIdAula.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabelIdAula.setText("ID Aula:");

        DatosFecha.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Fecha", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        DatosFecha.setName(""); // NOI18N

        jLabelDesdeFecha.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabelDesdeFecha.setText("Desde:");

        txtFechaIni.setEditable(true);
        txtFechaIni.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtFechaIniActionPerformed(evt);
            }
        });

        jLabelHastaFecha.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabelHastaFecha.setText("Hasta:");

        javax.swing.GroupLayout DatosFechaLayout = new javax.swing.GroupLayout(DatosFecha);
        DatosFecha.setLayout(DatosFechaLayout);
        DatosFechaLayout.setHorizontalGroup(
            DatosFechaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(DatosFechaLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(DatosFechaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabelHastaFecha)
                    .addComponent(jLabelDesdeFecha))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(DatosFechaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(txtFechaFin)
                    .addComponent(txtFechaIni, javax.swing.GroupLayout.DEFAULT_SIZE, 83, Short.MAX_VALUE))
                .addContainerGap())
        );
        DatosFechaLayout.setVerticalGroup(
            DatosFechaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(DatosFechaLayout.createSequentialGroup()
                .addGroup(DatosFechaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelDesdeFecha)
                    .addComponent(txtFechaIni, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(DatosFechaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelHastaFecha)
                    .addComponent(txtFechaFin, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(42, Short.MAX_VALUE))
        );

        DatosDuracion.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Duración", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        DatosDuracion.setName(""); // NOI18N

        jLabelDeHora.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabelDeHora.setText("De:");

        txtHoraIni.setEditable(true);
        txtHoraIni.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtHoraIniActionPerformed(evt);
            }
        });

        jLabelAHora.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabelAHora.setText("A:");

        chkDiaCompleto.setFont(new java.awt.Font("Tahoma", 1, 11));
        chkDiaCompleto.setText("Día completo");
        chkDiaCompleto.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                chkDiaCompletoActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout DatosDuracionLayout = new javax.swing.GroupLayout(DatosDuracion);
        DatosDuracion.setLayout(DatosDuracionLayout);
        DatosDuracionLayout.setHorizontalGroup(
            DatosDuracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(DatosDuracionLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(DatosDuracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(DatosDuracionLayout.createSequentialGroup()
                        .addGroup(DatosDuracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabelAHora)
                            .addComponent(jLabelDeHora))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(DatosDuracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(txtHoraFin)
                            .addComponent(txtHoraIni, javax.swing.GroupLayout.DEFAULT_SIZE, 54, Short.MAX_VALUE)))
                    .addComponent(chkDiaCompleto))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        DatosDuracionLayout.setVerticalGroup(
            DatosDuracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(DatosDuracionLayout.createSequentialGroup()
                .addGroup(DatosDuracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelDeHora)
                    .addComponent(txtHoraIni, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(DatosDuracionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelAHora)
                    .addComponent(txtHoraFin, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(chkDiaCompleto)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jLabelNombreAula.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabelNombreAula.setText("Espacio:");

        javax.swing.GroupLayout DatosAulaLayout = new javax.swing.GroupLayout(DatosAula);
        DatosAula.setLayout(DatosAulaLayout);
        DatosAulaLayout.setHorizontalGroup(
            DatosAulaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(DatosAulaLayout.createSequentialGroup()
                .addGroup(DatosAulaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(DatosAulaLayout.createSequentialGroup()
                        .addGroup(DatosAulaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(DatosAulaLayout.createSequentialGroup()
                                .addComponent(jLabelNombreAula)
                                .addGap(18, 18, 18)
                                .addComponent(txtNombreAula, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(DatosAulaLayout.createSequentialGroup()
                                .addGroup(DatosAulaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabelSuperficie)
                                    .addComponent(jLabelAforo))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(DatosAulaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(txtSuperficie)
                                    .addComponent(txtAforo, javax.swing.GroupLayout.DEFAULT_SIZE, 106, Short.MAX_VALUE))))
                        .addGap(43, 43, 43))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, DatosAulaLayout.createSequentialGroup()
                        .addComponent(jLabelIdAula)
                        .addGap(18, 18, 18)
                        .addComponent(txtIdAula, javax.swing.GroupLayout.PREFERRED_SIZE, 125, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(18, 18, 18)
                .addComponent(DatosFecha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(DatosDuracion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(60, Short.MAX_VALUE))
        );
        DatosAulaLayout.setVerticalGroup(
            DatosAulaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(DatosAulaLayout.createSequentialGroup()
                .addGroup(DatosAulaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(DatosAulaLayout.createSequentialGroup()
                        .addGap(14, 14, 14)
                        .addGroup(DatosAulaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelIdAula)
                            .addComponent(txtIdAula, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(DatosAulaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelNombreAula)
                            .addComponent(txtNombreAula, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(DatosAulaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelSuperficie)
                            .addComponent(txtSuperficie, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(DatosAulaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelAforo)
                            .addComponent(txtAforo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addComponent(DatosFecha, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(DatosDuracion, javax.swing.GroupLayout.PREFERRED_SIZE, 98, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(29, 29, 29))
        );

        jPanelLocalizacion.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Localización", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jPanelLocalizacion.setName(""); // NOI18N

        jLabelLocalidad.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabelLocalidad.setText("Ciudad:");

        jLabelProvincia.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabelProvincia.setText("Provincia:");

        jLabelPais.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabelPais.setText("Pais:");

        javax.swing.GroupLayout jPanelLocalizacionLayout = new javax.swing.GroupLayout(jPanelLocalizacion);
        jPanelLocalizacion.setLayout(jPanelLocalizacionLayout);
        jPanelLocalizacionLayout.setHorizontalGroup(
            jPanelLocalizacionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelLocalizacionLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabelLocalidad)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(txtCiudad, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabelProvincia)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(txtProvincia, javax.swing.GroupLayout.PREFERRED_SIZE, 134, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabelPais, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(txtPais, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(144, Short.MAX_VALUE))
        );
        jPanelLocalizacionLayout.setVerticalGroup(
            jPanelLocalizacionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelLocalizacionLayout.createSequentialGroup()
                .addGroup(jPanelLocalizacionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelLocalizacionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabelLocalidad)
                        .addComponent(txtCiudad, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabelProvincia)
                        .addComponent(txtProvincia, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jLabelPais)
                    .addComponent(txtPais, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanelImporteReserva.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Importe de la reserva", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jPanelImporteReserva.setName(""); // NOI18N

        txtImporteReserva.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtImporteReservaActionPerformed(evt);
            }
        });

        jLabel1.setText("€");

        javax.swing.GroupLayout jPanelImporteReservaLayout = new javax.swing.GroupLayout(jPanelImporteReserva);
        jPanelImporteReserva.setLayout(jPanelImporteReservaLayout);
        jPanelImporteReservaLayout.setHorizontalGroup(
            jPanelImporteReservaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelImporteReservaLayout.createSequentialGroup()
                .addContainerGap(589, Short.MAX_VALUE)
                .addComponent(txtImporteReserva, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel1)
                .addContainerGap())
        );
        jPanelImporteReservaLayout.setVerticalGroup(
            jPanelImporteReservaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelImporteReservaLayout.createSequentialGroup()
                .addGap(21, 21, 21)
                .addGroup(jPanelImporteReservaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtImporteReserva, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel1))
                .addContainerGap(27, Short.MAX_VALUE))
        );

        cmdCerrar.setText("Cerrar");

        DatosSolicitud.setBorder(javax.swing.BorderFactory.createTitledBorder(null, TDSLanguageUtils.getMessage("aulas.detalle.solicitudes.datossolicitud"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        DatosSolicitud.setName(""); // NOI18N

        jLabelIdSolicitud.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabelIdSolicitud.setText("ID Solicitud:");

        jLabelFechaSolicitud.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabelFechaSolicitud.setText("Fecha de solicitud:");

        jLabelHoraSolicitud.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabelHoraSolicitud.setText("Hora de solicitud:");

        cmdVerSolicitud.setText("Ver solicitud");
        cmdVerSolicitud.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cmdVerSolicitudActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout DatosSolicitudLayout = new javax.swing.GroupLayout(DatosSolicitud);
        DatosSolicitud.setLayout(DatosSolicitudLayout);
        DatosSolicitudLayout.setHorizontalGroup(
            DatosSolicitudLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(DatosSolicitudLayout.createSequentialGroup()
                .addGap(31, 31, 31)
                .addGroup(DatosSolicitudLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(DatosSolicitudLayout.createSequentialGroup()
                        .addComponent(jLabelHoraSolicitud)
                        .addGap(24, 24, 24))
                    .addGroup(DatosSolicitudLayout.createSequentialGroup()
                        .addComponent(jLabelFechaSolicitud)
                        .addGap(18, 18, 18))
                    .addComponent(jLabelIdSolicitud, javax.swing.GroupLayout.Alignment.LEADING))
                .addGroup(DatosSolicitudLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(DatosSolicitudLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(txtHoraSolicitud)
                        .addComponent(txtFechaSolicitud, javax.swing.GroupLayout.PREFERRED_SIZE, 108, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(txtIdSolicitud, javax.swing.GroupLayout.DEFAULT_SIZE, 108, Short.MAX_VALUE))
                .addContainerGap())
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, DatosSolicitudLayout.createSequentialGroup()
                .addContainerGap(100, Short.MAX_VALUE)
                .addComponent(cmdVerSolicitud)
                .addGap(81, 81, 81))
        );
        DatosSolicitudLayout.setVerticalGroup(
            DatosSolicitudLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(DatosSolicitudLayout.createSequentialGroup()
                .addGroup(DatosSolicitudLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelIdSolicitud)
                    .addComponent(txtIdSolicitud, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(13, 13, 13)
                .addGroup(DatosSolicitudLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtFechaSolicitud, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelFechaSolicitud))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(DatosSolicitudLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelHoraSolicitud)
                    .addComponent(txtHoraSolicitud, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 18, Short.MAX_VALUE)
                .addComponent(cmdVerSolicitud))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(DatosAula, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                .addComponent(DatosReserva, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addGap(18, 18, 18)
                                .addComponent(DatosSolicitud, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(jPanelLocalizacion, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jPanelImporteReserva, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addContainerGap())
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addComponent(cmdCerrar)
                        .addGap(160, 160, 160))))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(23, 23, 23)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(DatosReserva, javax.swing.GroupLayout.DEFAULT_SIZE, 149, Short.MAX_VALUE)
                    .addComponent(DatosSolicitud, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(18, 18, 18)
                .addComponent(DatosAula, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jPanelLocalizacion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanelImporteReserva, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 18, Short.MAX_VALUE)
                .addComponent(cmdCerrar)
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void txtFechaIniActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextFieldFechaIniActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jTextFieldFechaIniActionPerformed

    private void txtHoraIniActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextFieldHoraIniActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jTextFieldHoraIniActionPerformed

    private void chkDiaCompletoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chkDiaCompletoActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_chkDiaCompletoActionPerformed
     /**
     * Método que maneja el evento sobre el botón de consultar aula.<br />
     * Realiza la operación de mostrar el diálogo de consultar aula
     */

    private void txtImporteReservaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtImporteReservaActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtImporteReservaActionPerformed

private void cmdVerSolicitudActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdVerSolicitudActionPerformed

    Frame frame = JOptionPane.getFrameForComponent(this);
        DialogDetalleSolicitud dlDetalleSolicitud = new DialogDetalleSolicitud(frame, true,
                objRemotoDic, objRemotoAula, idReserva, usLogeado);

        dlDetalleSolicitud.setVisible(true);
}//GEN-LAST:event_cmdVerSolicitudActionPerformed

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
//        java.awt.EventQueue.invokeLater(new Runnable() {
//            public void run() {
//                DialogDetalleSolicitud dialog = new DialogDetalleSolicitud(new javax.swing.JFrame(), true);
//                dialog.addWindowListener(new java.awt.event.WindowAdapter() {
//                    public void windowClosing(java.awt.event.WindowEvent e) {
//                        System.exit(0);
//                    }
//                });
//                dialog.setVisible(true);
//            }
//        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel DatosAula;
    private javax.swing.JPanel DatosDuracion;
    private javax.swing.JPanel DatosFecha;
    private javax.swing.JPanel DatosReserva;
    private javax.swing.JPanel DatosSolicitud;
    private javax.swing.JCheckBox chkDiaCompleto;
    private javax.swing.JButton cmdCerrar;
    private javax.swing.JButton cmdVerSolicitud;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabelAHora;
    private javax.swing.JLabel jLabelAforo;
    private javax.swing.JLabel jLabelCliente;
    private javax.swing.JLabel jLabelDeHora;
    private javax.swing.JLabel jLabelDesdeFecha;
    private javax.swing.JLabel jLabelFechaSolicitud;
    private javax.swing.JLabel jLabelHastaFecha;
    private javax.swing.JLabel jLabelHoraSolicitud;
    private javax.swing.JLabel jLabelIdAula;
    private javax.swing.JLabel jLabelIdReserva;
    private javax.swing.JLabel jLabelIdSolicitud;
    private javax.swing.JLabel jLabelLocalidad;
    private javax.swing.JLabel jLabelNombreAula;
    private javax.swing.JLabel jLabelPais;
    private javax.swing.JLabel jLabelProvincia;
    private javax.swing.JLabel jLabelSuperficie;
    private javax.swing.JPanel jPanelImporteReserva;
    private javax.swing.JPanel jPanelLocalizacion;
    private javax.swing.JTextField txtAforo;
    private javax.swing.JTextField txtCiudad;
    private javax.swing.JTextField txtCliente;
    private javax.swing.JTextField txtFechaFin;
    private javax.swing.JTextField txtFechaIni;
    private javax.swing.JTextField txtFechaSolicitud;
    private javax.swing.JTextField txtHoraFin;
    private javax.swing.JTextField txtHoraIni;
    private javax.swing.JTextField txtHoraSolicitud;
    private javax.swing.JTextField txtIdAula;
    private javax.swing.JTextField txtIdReserva;
    private javax.swing.JTextField txtIdSolicitud;
    private javax.swing.JTextField txtImporteReserva;
    private javax.swing.JTextField txtNombreAula;
    private javax.swing.JTextField txtPais;
    private javax.swing.JTextField txtProvincia;
    private javax.swing.JTextField txtSuperficie;
    // End of variables declaration//GEN-END:variables

}